[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api020.nas"]

    GLOBAL _api_beep

[SECTION .text]

_api_beep:          ; void api_beep(int tone);
    mov edx, 20
    mov eax, [esp+4]        ; tone
    int 40h
    ret
